package ca.qc.bdeb.info.pp2.tp2.application;

public class Ville
{
    private int id;
    private String ville;
    private int idProvince;

    public int getId()
    {
        return id;
    }

    public void setId(int id)
    {
        this.id = id;
    }

    public String getVille()
    {
        return ville;
    }

    public void setVille(String ville)
    {
        this.ville = ville;
    }

    public int getIdProvince()
    {
        return idProvince;
    }

    public void setIdProvince(int idProvince)
    {
        this.idProvince = idProvince;
    }

    public VilleBean getVilleBean()
    {
        VilleBean v = new VilleBean();
        v.setId(id);
        v.setVille(ville);
        v.setIdProvince(idProvince);

        return v;
    }
}
